package com.example.jiemian.Utils;

import java.text.SimpleDateFormat;
import java.util.Date;


public class Utils {
    public static String getTime(){
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

        Date curDate = new Date(System.currentTimeMillis());
        String str = formatter.format(curDate);
        return str;
    }

}
